Optimal. Leaf size=104 \[ -\frac {2 \sec ^5(e+f x) (c-c \sin (e+f x))^{9/2}}{a^3 c^2 f}+\frac {16 \sec ^5(e+f x) (c-c \sin (e+f x))^{7/2}}{3 a^3 c f}-\frac {64 \sec ^5(e+f x) (c-c \sin (e+f x))^{5/2}}{15 a^3 f} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.27, antiderivative size = 104, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.107, Rules used = {2736, 2674, 2673} \[ -\frac {2 \sec ^5(e+f x) (c-c \sin (e+f x))^{9/2}}{a^3 c^2 f}+\frac {16 \sec ^5(e+f x) (c-c \sin (e+f x))^{7/2}}{3 a^3 c f}-\frac {64 \sec ^5(e+f x) (c-c \sin (e+f x))^{5/2}}{15 a^3 f} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2673
Rule 2674
Rule 2736
Rubi steps
\begin {align*} \int \frac {(c-c \sin (e+f x))^{5/2}}{(a+a \sin (e+f x))^3} \, dx &=\frac {\int \sec ^6(e+f x) (c-c \sin (e+f x))^{11/2} \, dx}{a^3 c^3}\\ &=-\frac {2 \sec ^5(e+f x) (c-c \sin (e+f x))^{9/2}}{a^3 c^2 f}-\frac {8 \int \sec ^6(e+f x) (c-c \sin (e+f x))^{9/2} \, dx}{a^3 c^2}\\ &=\frac {16 \sec ^5(e+f x) (c-c \sin (e+f x))^{7/2}}{3 a^3 c f}-\frac {2 \sec ^5(e+f x) (c-c \sin (e+f x))^{9/2}}{a^3 c^2 f}+\frac {32 \int \sec ^6(e+f x) (c-c \sin (e+f x))^{7/2} \, dx}{3 a^3 c}\\ &=-\frac {64 \sec ^5(e+f x) (c-c \sin (e+f x))^{5/2}}{15 a^3 f}+\frac {16 \sec ^5(e+f x) (c-c \sin (e+f x))^{7/2}}{3 a^3 c f}-\frac {2 \sec ^5(e+f x) (c-c \sin (e+f x))^{9/2}}{a^3 c^2 f}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.87, size = 104, normalized size = 1.00 \[ \frac {c^2 \sqrt {c-c \sin (e+f x)} \left (\sin \left (\frac {1}{2} (e+f x)\right )+\cos \left (\frac {1}{2} (e+f x)\right )\right ) (-20 \sin (e+f x)+15 \cos (2 (e+f x))-29)}{15 a^3 f (\sin (e+f x)+1)^3 \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.42, size = 91, normalized size = 0.88 \[ -\frac {2 \, {\left (15 \, c^{2} \cos \left (f x + e\right )^{2} - 10 \, c^{2} \sin \left (f x + e\right ) - 22 \, c^{2}\right )} \sqrt {-c \sin \left (f x + e\right ) + c}}{15 \, {\left (a^{3} f \cos \left (f x + e\right )^{3} - 2 \, a^{3} f \cos \left (f x + e\right ) \sin \left (f x + e\right ) - 2 \, a^{3} f \cos \left (f x + e\right )\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.84, size = 71, normalized size = 0.68 \[ \frac {2 c^{3} \left (\sin \left (f x +e \right )-1\right ) \left (15 \left (\sin ^{2}\left (f x +e \right )\right )+10 \sin \left (f x +e \right )+7\right )}{15 a^{3} \left (1+\sin \left (f x +e \right )\right )^{2} \cos \left (f x +e \right ) \sqrt {c -c \sin \left (f x +e \right )}\, f} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 1.09, size = 380, normalized size = 3.65 \[ \frac {2 \, {\left (7 \, c^{\frac {5}{2}} + \frac {20 \, c^{\frac {5}{2}} \sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} + \frac {95 \, c^{\frac {5}{2}} \sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}} + \frac {80 \, c^{\frac {5}{2}} \sin \left (f x + e\right )^{3}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{3}} + \frac {250 \, c^{\frac {5}{2}} \sin \left (f x + e\right )^{4}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{4}} + \frac {120 \, c^{\frac {5}{2}} \sin \left (f x + e\right )^{5}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{5}} + \frac {250 \, c^{\frac {5}{2}} \sin \left (f x + e\right )^{6}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{6}} + \frac {80 \, c^{\frac {5}{2}} \sin \left (f x + e\right )^{7}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{7}} + \frac {95 \, c^{\frac {5}{2}} \sin \left (f x + e\right )^{8}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{8}} + \frac {20 \, c^{\frac {5}{2}} \sin \left (f x + e\right )^{9}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{9}} + \frac {7 \, c^{\frac {5}{2}} \sin \left (f x + e\right )^{10}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{10}}\right )}}{15 \, {\left (a^{3} + \frac {5 \, a^{3} \sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} + \frac {10 \, a^{3} \sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}} + \frac {10 \, a^{3} \sin \left (f x + e\right )^{3}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{3}} + \frac {5 \, a^{3} \sin \left (f x + e\right )^{4}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{4}} + \frac {a^{3} \sin \left (f x + e\right )^{5}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{5}}\right )} f {\left (\frac {\sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}} + 1\right )}^{\frac {5}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 11.95, size = 453, normalized size = 4.36 \[ -\frac {4\,c^2\,{\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}\,\sqrt {c-c\,\left (\frac {{\mathrm {e}}^{-e\,1{}\mathrm {i}-f\,x\,1{}\mathrm {i}}\,1{}\mathrm {i}}{2}-\frac {{\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}\,1{}\mathrm {i}}{2}\right )}}{a^3\,f\,\left ({\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}-\mathrm {i}\right )\,\left ({\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}+1{}\mathrm {i}\right )}+\frac {c^2\,{\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}\,\sqrt {c-c\,\left (\frac {{\mathrm {e}}^{-e\,1{}\mathrm {i}-f\,x\,1{}\mathrm {i}}\,1{}\mathrm {i}}{2}-\frac {{\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}\,1{}\mathrm {i}}{2}\right )}\,32{}\mathrm {i}}{3\,a^3\,f\,\left ({\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}-\mathrm {i}\right )\,{\left ({\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}+1{}\mathrm {i}\right )}^2}+\frac {352\,c^2\,{\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}\,\sqrt {c-c\,\left (\frac {{\mathrm {e}}^{-e\,1{}\mathrm {i}-f\,x\,1{}\mathrm {i}}\,1{}\mathrm {i}}{2}-\frac {{\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}\,1{}\mathrm {i}}{2}\right )}}{15\,a^3\,f\,\left ({\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}-\mathrm {i}\right )\,{\left ({\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}+1{}\mathrm {i}\right )}^3}-\frac {c^2\,{\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}\,\sqrt {c-c\,\left (\frac {{\mathrm {e}}^{-e\,1{}\mathrm {i}-f\,x\,1{}\mathrm {i}}\,1{}\mathrm {i}}{2}-\frac {{\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}\,1{}\mathrm {i}}{2}\right )}\,128{}\mathrm {i}}{5\,a^3\,f\,\left ({\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}-\mathrm {i}\right )\,{\left ({\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}+1{}\mathrm {i}\right )}^4}-\frac {64\,c^2\,{\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}\,\sqrt {c-c\,\left (\frac {{\mathrm {e}}^{-e\,1{}\mathrm {i}-f\,x\,1{}\mathrm {i}}\,1{}\mathrm {i}}{2}-\frac {{\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}\,1{}\mathrm {i}}{2}\right )}}{5\,a^3\,f\,\left ({\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}-\mathrm {i}\right )\,{\left ({\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}+1{}\mathrm {i}\right )}^5} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________